#pragma once
#include "Tank.h"

class Enemy : public Tank
{
public:
    Enemy(int x, int y, EnemyType type,GameScene* scene);
    virtual ~Enemy();
    virtual void Update(float dt);
    virtual void Render();
private:
    void shoot();
    EnemyType type_;
    float time_;
    bool isSwitch_;
    std::weak_ptr<Bullet> bullet_;
};